package com.situ.mall.generic;

import org.junit.jupiter.api.Test;

public class GenericDemo3<K,T> {

    public K save(K t, T k) {
        return t;
    }

    public  K update(K t, T k) {
        return t;
    }

    @Test
    public void test1() {
        GenericDemo3<String, Integer> demo = new GenericDemo3<>();
        String str = demo.save("abc", 1);
    }
}
